using System;
using System.ComponentModel;
using System.Xml.Serialization;

namespace com.exceptionalsoftware.spacetime.KML
{
	[Serializable()]
    [XmlType(TypeName = "ScaleType")]
    public class Scale : ObjectType
	{
        private double xField, yField, zField;

        public Scale()
		{
            this.xField = 1;
            this.yField = 1;
            this.zField = 1;
        }

        [XmlElement(ElementName = "x", DataType = "double")]
        [DefaultValue(1)]
        public double X
        {
            get { return this.xField; }
            set { this.xField = value; }
        }

        [XmlElement(ElementName = "y", DataType = "double")]
        [DefaultValue(1)]
        public double Y
        {
            get { return this.yField; }
            set { this.yField = value; }
        }

        [XmlElement(ElementName = "z", DataType = "double")]
        [DefaultValue(1)]
        public double Z
        {
            get { return this.zField; }
            set { this.zField = value; }
        }
   
    }
}